﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="_Default" MasterPageFile="~/MasterPage.master"
    Title="Webazo Main Page" %>

   <asp:Content ID="Content1" runat="server" ContentPlaceHolderID="Main"> 
    <div id="link">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    
    <ContentTemplate>
    <br />
        <p>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
            OnRowCommand="GridView1_RowCommand"
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" BorderWidth="0px">
            <Columns>
                <asp:ButtonField ButtonType="Button" DataTextField="Class" DataTextFormatString="View Discussion for {0}"
                    HeaderText="Select the Desired Class" />
            </Columns>
        </asp:GridView>
    </p>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetAllClasses" TypeName="DataSetTableAdapters.AllClassesTableAdapter">
    </asp:ObjectDataSource>
    </ContentTemplate>
    
    </asp:UpdatePanel>
    </div>
    </asp:Content>


